package cn.admin.config.common.protocol;

public final class SubscriberRegReqPacket extends DataClientRegReqPacket {

    public SubscriberRegReqPacket(String dataId,String clientId,String datumId) {

        SubscriberRegElement reg = new SubscriberRegElement();
        reg.clientId = clientId;
        reg.dataId = dataId;
        reg.datumId = datumId;

        this.addElement(reg);
    }

    @Override
    public ProtocolElementUid uid() {
        return ProtocolElementUid.PACKET_SUBSCRIBER_REG_REQUEST;
    }
}
